<?php

/*
 * This file is part of the php-phantomjs.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace lemon\phantomjs\Tests\Unit\Procedure;

use lemon\phantomjs\Procedure\Input;

/**
 * PHP PhantomJs
 *
 * @author Jon Wenmoth <contact@jonnyw.me>
 */
class InputTest extends \PHPUnit_Framework_TestCase
{

/** +++++++++++++++++++++++++++++++++++ **/
/** ++++++++++++++ TESTS ++++++++++++++ **/
/** +++++++++++++++++++++++++++++++++++ **/

	/**
	 * Test data storage.
	 *
	 * @access public
	 * @return void
	 */
	public function testDataStorage(){
		$input = $this->getInput();
		$input->set('test', 'Test value');

		$this->assertSame('Test value', $input->get('test'));
	}

/** +++++++++++++++++++++++++++++++++++ **/
/** ++++++++++ TEST ENTITIES ++++++++++ **/
/** +++++++++++++++++++++++++++++++++++ **/

	/**
	 * Get input.
	 *
	 * @access protected
	 * @return \lemon\phantomjs\Procedure\Input
	 */
	protected function getInput(){
		$input = new Input();

		return $input;
	}
}
